﻿using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WCS_Service.DomianService.Models;
using WCS_Service.Enums;

namespace WCS_Service.ProtocolServices.Interface
{
    public interface IProtocolService
    {
        int equipmentId { get; set; }

        bool isSerialNet { get; set; }
        //光通信有效
        event Func<int,ConEquipmentState,Task> OppositeConChange;

        event Func<string,int,Task> ReceiveMsgBusinessEvent;

        Task ReceiveMsgAsync(ClientDataReceiveEventArgs e);

        Task<string> SendMsgSplicingAsync(string msg);

        Task<string> SetSerialNetDataAsync(object data);

    }
}
